package com.mingqijia.gassafety.webserver.dto;

import com.mingqijia.gassafety.db.entity.DeviceState;
import com.mingqijia.gassafety.db.entity.Dtu;
import com.mingqijia.gassafety.db.entity.ReceiverValve;
import com.mingqijia.gassafety.webserver.request.cmp.notify.DataReportRequest;
import lombok.Data;

/**
 * @program: gassafety
 * @description: 上报数据的推送封装类
 * @author: Mr.Wang
 * @create: 2022-09-02 11:21
 **/
@Data
public class ReportNotifyDTO {
    //上报前的最新状态
    private DeviceState deviceState;
    //上报的最新状态
    private DeviceState prepareDeviceState;
    //上报数据
    private DataReportRequest request;
    //上报设备
    private Dtu dtu;
    //连接器和电磁阀上报前状态
    private ReceiverValve receiverValve;
    //连接器和电磁阀最新状态
    private ReceiverValve prepareReceiverValve;
}
